The Joys of Graph Transformation
نویسنده
چکیده
We believe that the technique of graph transformation offers a very natural way to specify semantics for languages that have dynamic allocation and linking structure; for instance, object-oriented programming languages, but also languages for mobility. In this note we expose, on a rather informal level, the reasons for this belief. Our hope in doing this is to raise interest in this technique and so generate more interest in the fascinating possibilities and open questions of this area. 1 Graph Transformation Is Easy Transformation means changing (literally: shaping) one thing into another. In the case of graph transformation, obviously, the things being changed are graphs. A fundamental assumption in studying such changes is that they are not arbitrary but controlled by some guiding principles, and that these principles can be captured in rules. A graph transformation rule (often called a production rule) describes a kind of change that will transform certain graphs — those to which the rule is applicable — into others, in a specific way encoded in the rule. A set of production rules is usually called a production system; graphs that are subjected to transformation are often called host graphs. For us, the interest in this arises from the fact that graphs can be used to model just about any discrete structure — with lesser or greater ease — and that many kinds of dynamic changes in such structures lend themselves quite naturally to a description by graph production rules. This is in particular true of the semantics of object-oriented systems: it is our firm belief that graph transformations are a very natural technique to specify the semantics of such systems (see also Sect. 4). (It should be mentioned that this is not the only, and indeed historically not the original, reason to be interested in graph transformation: another motivation is to characterise graph structures as the end product of a sequence of transformations guided by a given set of rules. As a very simple example, the class of all connected graphs can be characterised in this way. In that context it is not so much the process of change as its result that is of primary interest.) Although there are many ways to define graph production rules, all rules have certain basic things in common. They always specify changes in a (relatively) small sub-structure, and the change always consists of modifications to that sub-structure, such as taking away parts from it or adding parts to it. For the rule to apply, the first requirement is that the host graph actually contains a sub-structure of the right kind; in fact, if it contains more than one such sub-structure, the rule is applicable in different ways. This is, of course, a very general description; in practice, there have turned out to be many different useful ways to specify sub-structures and changes. In the past this has led to strong opinions about the relative merits of the various techniques. Fortunately, the purpose of this paper is not to categorise these approaches (for that, the handbook [21] is a
منابع مشابه
A Hybrid Meta-heuristic Approach to Cope with State Space Explosion in Model Checking Technique for Deadlock Freeness
Model checking is an automatic technique for software verification through which all reachable states are generated from an initial state to finding errors and desirable patterns. In the model checking approach, the behavior and structure of system should be modeled. Graph transformation system is a graphical formal modeling language to specify and model the system. However, modeling of large s...
متن کاملENTROPY OF DYNAMICAL SYSTEMS ON WEIGHTS OF A GRAPH
Let $G$ be a finite simple graph whose vertices and edges are weighted by two functions. In this paper we shall define and calculate entropy of a dynamical system on weights of the graph $G$, by using the weights of vertices and edges of $G$. We examine the conditions under which entropy of the dynamical system is zero, possitive or $+infty$. At the end it is shown that, for $rin [0,+infty]$, t...
متن کاملتعبیه ی هندسی درخت درنقاط داخل یک چندضلعی با حداقل تعداد خم
In this paper we consider to embed a tree T with N vertices on a set of N points inside a simple polygon on n vertices and the goal is to minimize the number of bends. The main idea of our algorithm is modeling the problem into graph matching problem and uses the graph matching algorithms. We apply the concept of error-correction transformation and find the appropriate cost function then we per...
متن کاملOn trees and the multiplicative sum Zagreb index
For a graph $G$ with edge set $E(G)$, the multiplicative sum Zagreb index of $G$ is defined as$Pi^*(G)=Pi_{uvin E(G)}[d_G(u)+d_G(v)]$, where $d_G(v)$ is the degree of vertex $v$ in $G$.In this paper, we first introduce some graph transformations that decreasethis index. In application, we identify the fourteen class of trees, with the first through fourteenth smallest multiplicative sum Zagreb ...
متن کاملSpatial Transformation of Apartment-Type Housing Buildings (Case S tudy: Gaziantep, Turkey)Turkey
The aims of this s tudy is to analyse the planning and design process, basic principles and thechange-transformation process of the apartment type residential buildings in Turkey, Gaziantep city based on his torical background. The scope of the research consis ts of residential buildings built in the city of Gaziantep, which were built in the pos t-Republican period. In addition, s tate-b...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2005